package com.yl.chainStore.entity.dbimport

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.yl.common.annotation.NoArg
/**
 * <p>
 *
 * </p>
 *
 * @author cxw
 * @since 2022-01-05
 */
@NoArg
@TableName("sick_medical_records_detail_db")
    data class SickMedicalRecordsDetailDb  (

    /**
     * 患者名称
     */
    @TableId(value = "customer_name", type = IdType.AUTO)
    var customerName: String? = null,

    /**
     * 病历号
     */
    @TableField("sick_num")
    var sickNum: String? = null,

    /**
     * 性别
     */
    @TableField("sex")
    var sex: String? = null,

    /**
     * 年龄
     */
    @TableField("age")
    var age: String? = null,

    /**
     * 来源
     */
    @TableField("srouce")
    var srouce: String? = null,

    /**
     * 创建人
     */
    @TableField("create_user_name")
    var createUserName: String? = null,

    /**
     * 就诊时间
     */
    @TableField("see_doctor_time")
    var seeDoctorTime: String? = null,

    /**
     * 接诊时间
     */
    @TableField("accept_time")
    var acceptTime: String? = null,

    /**
     * 治疗结束时间
     */
    @TableField("cure_end_time")
    var cureEndTime: String? = null,

    /**
     * 初复诊
     */
    @TableField("first_see_doc")
    var firstSeeDoc: String? = null,

    /**
     * 医生id
     */
    @TableField("doc_id")
    var docId: String? = null,

    /**
     * 医生名称
     */
    @TableField("doc_name")
    var docName: String? = null,

    /**
     * formApptId
     */
    @TableField("form_appt_id")
    var formApptId: String? = null,

    /**
     * 科室
     */
    @TableField("dept_name")
    var deptName: String? = null,

    /**
     * 护士名称
     */
    @TableField("nurse_name")
    var nurseName: String? = null,

    /**
     * 应收
     */
    @TableField("receivable")
    var receivable: String? = null,

    /**
     * 实际收款
     */
    @TableField("paid_in")
    var paidIn: String? = null,

    /**
     * apptSourceType
     */
    @TableField("appt_source_type")
    var apptSourceType: String? = null,

    /**
     * 折扣金额
     */
    @TableField("amount_of")
    var amountOf: String? = null,

    /**
     * 原价
     */
    @TableField("original_price")
    var originalPrice: String? = null,

    /**
     * 收款人
     */
    @TableField("payee")
    var payee: String? = null,

    /**
     * 付款时间
     */
    @TableField("pay_time")
    var payTime: String? = null,

    /**
     * 欠款
     */
    @TableField("arrears")
    var arrears: String? = null,

    /**
     * 付款类型
     */
    @TableField("pay_type")
    var payType: String? = null,

    /**
     * 创建人名称
     */
    @TableField("sub_log_create_name")
    var subLogCreateName: String? = null,

    /**
     * 手机号
     */
    @TableField("phone")
    var phone: String? = null,

    /**
     * 备注
     */
    @TableField("remark")
    var remark: String? = null,

    /**
     * 地址
     */
    @TableField("address")
    var address: String? = null,

    /**
     * 预约日期
     */
    @TableField("sub_log_create_time")
    var subLogCreateTime: String? = null,

    /**
     * count(*)
     */
    @TableField("un_count")
    var unCount: String? = null,

)
